﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using yq.IService;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            ITest TEST = yq.GetService.Create<yq.IService.ITest>();


            //ITest TEST = cn.Wcf.Create<yq.IService.ITest>("http://localhost/WcfService/yq.IService.ITest.svc");
            int D = TEST.sum(3);
            int D1 = yq.GetService.Create<yq.IService.ITest>().sum(3);
            Console.Write(D + "");
            Console.Read();
        }
    }
}
